<template>
	<view>
		<van-nav-bar :title="studentMsg.real_name" left-text="返回" @click-left="back" left-arrow
			custom-style="padding-top:0">
		</van-nav-bar>

		<van-cell-group>
			<van-cell title="性别" :value="studentMsg.sex" size="large"></van-cell>
			<van-cell title="出生日期" :value="studentMsg.birth" size="large"></van-cell>
			<van-cell title="手机号" :value="studentMsg.phone" size="large"></van-cell>
			<van-cell title="地区" :value="studentMsg.area" size="large"></van-cell>
			<van-cell title="家庭地址" :value="studentMsg.address" size="large"></van-cell>
		</van-cell-group>

		<van-cell-group>
			<van-cell title="身份证号" :value="studentMsg.id_card" size="large"></van-cell>
			<van-cell title="录入时间" :value="studentMsg.updateTime" size="large"></van-cell>
		</van-cell-group>
		<van-notify id="van-notify" />
		<van-toast id="van-toast"></van-toast>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				studentMsg: {
					real_name: "李志任",
					sex: "女",
					birth: "1988-10-27",
					phone: "13641009512",
					area: "山西省 忻州市 原平市",
					address: "新原乡班村557号",
					id_card: "142202199508020318",
					updateTime: "2022-5-23 21:30"
				}
			};
		},
		methods: {
			back() {
				uni.navigateBack()
			}
		}

	}
</script>

<style lang="scss">
	@import "./index.scss"
</style>
